public class Vehicle {
    double speed;
    int power;

    void speedDown(int s){
        speed -= s;
    }
    void speedUp(int s){
        speed += s;
    }
    void setPower(int p){
        power = p;
    }
    int getPower(){
        return power;
    }
    double getSpeed(){
        return speed;
    }

}
